package cn.tx.utils;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * @author Snake Eyes
 * @PROJECT_NAME: health_parent
 * @DESCRIPTION:
 * @USER: 11647
 * @DATE: 2021/9/9 16:45
 * @Email: 1164763541@qq.com
 */
public class PasswordUtils {
    public static void main(String[] args) {
forgetPassword();
    }
    public static void forgetPassword(){
        BCryptPasswordEncoder encoder = new BCryptPasswordEncoder();
        final  String path= encoder.encode("admin");
        System.out.println(path);
    }
}
